package org.jeecg.common.multipart;

import java.util.Collection;

public class MultipartRequest implements Request {
    private MultipartRequestHead head;
    private String appName;
    private String serviceLevel;
    private String serviceName;
    private String serviceMethod;
    private String content;
    private Collection<MultipartRequestBody> bodies;

    public MultipartRequest(MultipartRequestHead head, String appName, String serviceLevel, String serviceName, String serviceMethod, Collection<MultipartRequestBody> bodies, String content) {
        this.head = head;
        this.appName = appName;
        this.serviceLevel = serviceLevel;
        this.serviceName = serviceName;
        this.serviceMethod = serviceMethod;
        this.bodies = bodies;
        this.content = content;
    }

    public MultipartRequestHead getHead() {
        return this.head;
    }

    public void setHead(MultipartRequestHead head) {
        this.head = head;
    }

    public String getAppName() {
        return this.appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getServiceLevel() {
        return this.serviceLevel;
    }

    public void setServiceLevel(String serviceLevel) {
        this.serviceLevel = serviceLevel;
    }

    public String getServiceName() {
        return this.serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceMethod() {
        return this.serviceMethod;
    }

    public void setServiceMethod(String serviceMethod) {
        this.serviceMethod = serviceMethod;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Collection<MultipartRequestBody> getBodies() {
        return this.bodies;
    }

    public void setBodies(Collection<MultipartRequestBody> bodies) {
        this.bodies = bodies;
    }
}

